package com.netease.pris.activity;

import android.view.ViewGroup;
import android.view.animation.DecelerateInterpolator;
import com.netease.pris.a.m;
import com.netease.pris.activity.view.FlingGallery;

final class a
  implements Runnable
{
  private final int b;

  public a(ArticleGalleryActivity paramArticleGalleryActivity, int paramInt)
  {
    this.b = paramInt;
  }

  public void run()
  {
    float f1 = ArticleGalleryActivity.w(this.a).getWidth() / 2.0F;
    float f2 = ArticleGalleryActivity.w(this.a).getHeight() / 2.0F;
    if (this.b > -1)
    {
      if (ArticleGalleryActivity.d(this.a) != null)
      {
        ArticleGalleryActivity.d(this.a).a(-1, ArticleGalleryActivity.r, Integer.valueOf(8));
        ArticleGalleryActivity.d(this.a).a(-1, ArticleGalleryActivity.s, Integer.valueOf(0));
        ArticleGalleryActivity.d(this.a).a(-1, ArticleGalleryActivity.t, null);
      }
      ArticleGalleryActivity.e(this.a, true);
    }
    while (true)
    {
      m localm = new m(-90.0F, 0.0F, f1, f2, 0.0F, false);
      localm.setDuration(500L);
      localm.setFillAfter(true);
      localm.setInterpolator(new DecelerateInterpolator());
      ArticleGalleryActivity.w(this.a).startAnimation(localm);
      return;
      if (ArticleGalleryActivity.d(this.a) != null)
      {
        ArticleGalleryActivity.d(this.a).a(-1, ArticleGalleryActivity.r, Integer.valueOf(0));
        ArticleGalleryActivity.d(this.a).a(-1, ArticleGalleryActivity.s, Integer.valueOf(8));
      }
      ArticleGalleryActivity.e(this.a, false);
    }
  }
}

/* Location:           D:\android\hack\dex2jar-0.0.9.8\classes_dex2jar.jar
 * Qualified Name:     com.netease.pris.activity.a
 * JD-Core Version:    0.6.0
 */